home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMXULImageElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  102 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMXULImageElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMXULImageElement_h__
  6. #define __gen_nsIDOMXULImageElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMElement_h__
  10. #include "nsIDOMElement.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIDOMXULElement_h__
  14. #include "nsIDOMXULElement.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21.  
  22. /* starting interface:    nsIDOMXULImageElement */
  23. #define NS_IDOMXULIMAGEELEMENT_IID_STR "f73f4d77-a6fb-4ab5-b41e-15045a0cc6ff"
  24.  
  25. #define NS_IDOMXULIMAGEELEMENT_IID \
  26.   {0xf73f4d77, 0xa6fb, 0x4ab5, \
  27.     { 0xb4, 0x1e, 0x15, 0x04, 0x5a, 0x0c, 0xc6, 0xff }}
  28.  
  29. class NS_NO_VTABLE nsIDOMXULImageElement : public nsIDOMXULElement {
  30.  public: 
  31.  
  32.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMXULIMAGEELEMENT_IID)
  33.  
  34.   /* attribute DOMString src; */
  35.   NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
  36.   NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
  37.  
  38. };
  39.  
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIDOMXULIMAGEELEMENT \
  42.   NS_IMETHOD GetSrc(nsAString & aSrc); \
  43.   NS_IMETHOD SetSrc(const nsAString & aSrc); 
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  46. #define NS_FORWARD_NSIDOMXULIMAGEELEMENT(_to) \
  47.   NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
  48.   NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } 
  49.  
  50. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  51. #define NS_FORWARD_SAFE_NSIDOMXULIMAGEELEMENT(_to) \
  52.   NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
  53.   NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } 
  54.  
  55. #if 0
  56. /* Use the code below as a template for the implementation class for this interface. */
  57.  
  58. /* Header file */
  59. class nsDOMXULImageElement : public nsIDOMXULImageElement
  60. {
  61. public:
  62.   NS_DECL_ISUPPORTS
  63.   NS_DECL_NSIDOMXULIMAGEELEMENT
  64.  
  65.   nsDOMXULImageElement();
  66.  
  67. private:
  68.   ~nsDOMXULImageElement();
  69.  
  70. protected:
  71.   /* additional members */
  72. };
  73.  
  74. /* Implementation file */
  75. NS_IMPL_ISUPPORTS1(nsDOMXULImageElement, nsIDOMXULImageElement)
  76.  
  77. nsDOMXULImageElement::nsDOMXULImageElement()
  78. {
  79.   /* member initializers and constructor code */
  80. }
  81.  
  82. nsDOMXULImageElement::~nsDOMXULImageElement()
  83. {
  84.   /* destructor code */
  85. }
  86.  
  87. /* attribute DOMString src; */
  88. NS_IMETHODIMP nsDOMXULImageElement::GetSrc(nsAString & aSrc)
  89. {
  90.     return NS_ERROR_NOT_IMPLEMENTED;
  91. }
  92. NS_IMETHODIMP nsDOMXULImageElement::SetSrc(const nsAString & aSrc)
  93. {
  94.     return NS_ERROR_NOT_IMPLEMENTED;
  95. }
  96.  
  97. /* End of implementation class template. */
  98. #endif
  99.  
  100.  
  101. #endif /* __gen_nsIDOMXULImageElement_h__ */
  102.